package cn.demoxy.model.entity;

import cn.demoxy.base.BaseEntity;
import io.swagger.annotations.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @auther demo
 * @date 2022/5/18 16:50
 * 日志实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="DemoLog对象", description="日志表")
public class DemoLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作标题")
    private String title;

    @ApiModelProperty(value = "获取当前ip地址")
    private String remoteAddr;

    @ApiModelProperty(value = "请求地址")
    private String requestUri;

    @ApiModelProperty(value = "请求类型")
    private String method;

    @ApiModelProperty(value = "操作人")
    private String user;

    @ApiModelProperty(value = "执行时间")
    private String time;

    @ApiModelProperty(value = "操作异常")
    private String exception;

    @ApiModelProperty(value = "响应状态码")
    private String status;

    @ApiModelProperty(value = "操作类型")
    private String businessType;




}